package com.example.qa.service.application.service;

import com.example.qa.service.application.port.in.GetQaoneUseCase;
import com.example.qa.service.domain.Qa;
import com.example.qa.service.domain.port.GetQaonePort;
import com.example.qa.service.domain.valueobject.QaId;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

@Component
public class GeQaoneService implements GetQaoneUseCase {
    @Resource
    private GetQaonePort getQaonePort;
    @Override
    public Qa getQa(Long  id)
    {
        return getQaonePort.getQa(id);
    }
}
